<%@ page import="org.wlw.service.IMovieService" %>
<%@ page import="org.wlw.factoy.SimpleFactory" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    int id = Integer.parseInt(request.getParameter("id"));
    IMovieService movieService = SimpleFactory.getMovieService();
    movieService.delete(id);
    response.sendRedirect(request.getContextPath()+"/jsp/list.jsp");
%>
